Skip to content

Bump python runtime to v3.12#135

Merged
rohit-bandlamudi-nr merged 2 commits intonewrelic:masterfrom
rohit-bandlamudi-nr:upgrade-python-version
Jan 21, 2026
Merged

Bump python runtime to v3.12#135
rohit-bandlamudi-nr merged 2 commits intonewrelic:masterfrom
rohit-bandlamudi-nr:upgrade-python-version

Conversation

@rohit-bandlamudi-nr
Copy link
Contributor

@rohit-bandlamudi-nr rohit-bandlamudi-nr commented Jan 12, 2026

Summary

Upgrades Lambda runtime from Python 3.11 to Python 3.12.

Motivation

  • Python 3.11 reaches end of life on June 30, 2026
  • Python 3.12 supported until October 31, 2028 (~3 more years)
  • Provides performance improvements and Amazon Linux 2023 base

Changes

  • Updated Python runtime version to 3.12
  • Updated poetry.lockfile
  • Updated requirements.txt
  • Bumped lambda integration to v2.10.0
  • Bumped flake8 version

Testing

✅ SAM template validation passed
✅ Build successful with Python 3.12
✅ All dependencies compatible
✅ No breaking changes

Deployment

Customers need to redeploy using the updated template. No code changes required.

Timeline

Runtime Deprecation Support Until
Python 3.11 Jun 30, 2026 Aug 31, 2026
Python 3.12 Oct 31, 2028 Jan 10, 2029

References

@rohit-bandlamudi-nr rohit-bandlamudi-nr requested review from hrai-nr, maya-jha and nr-rkallempudi and removed request for maya-jha and nr-rkallempudi January 13, 2026 09:26
Signed-off-by: rohit-bandlamudi-nr <rbandlamudi@newrelic.com>
Signed-off-by: rohit-bandlamudi-nr <rbandlamudi@newrelic.com>
Copy link
Contributor

@hrai-nr hrai-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, however don't merge and release without explicit approval from Rajeev.

Copy link

@maya-jha maya-jha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do a basic sanity testing by deploying this and sending logs to new relic?

@rohit-bandlamudi-nr rohit-bandlamudi-nr merged commit 0664469 into newrelic:master Jan 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants